package com.boot2.controller.req;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wzm
 * @create 2023-11-29 9:12
 * project_name:web2310
 * @Description
 */
@RestController
public class HelloController {
    @RequestMapping("/hello")
    public String hello(){
        return "hello";
    }
}

/*
* 手动实现SpringBoot项目：
* 1.创建一个maven项目
* 2.继承自spring-boot-staerter-parent
* 3.添加需要的依赖  web  test   spring-boot-starter-web
* 4.添加引导类
*
*
*
* */
